<?php

class Empeval_Methods_Data_MboGoals {
	
	public $id;
	public $bonusGoalDesc;
	public $measuredVariable;
	public $deadline;
	public $weightingFactor;
	public $degreeOfFulfillment;
	public $type;
	public $status;
	public $lastModified;
	public $created;
	
	public function __construct(EmpevalMboGoals $mboGoals) {
		$this->id = $mboGoals->getId();
		$this->bonusGoalDesc = $mboGoals->getBonusGoalDesc();
		$this->measuredVariable = $mboGoals->getMeasuredVariable();
		$this->deadline = $mboGoals->getDeadline('d.m.Y');
		$this->weightingFactor = $mboGoals->getWeightingFactor();
		$this->degreeOfFulfillment = $mboGoals->getDegreeOfFulfillment();
		$this->type = $mboGoals->getType();
		$this->status = $mboGoals->getStatus();
		$this->lastModified = $mboGoals->getLastModified();
		$this->created = $mboGoals->getCreated();
	}
	
}